import 'hammerjs';
import "moment";

import { BrowserModule } from '@angular/platform-browser'
import { NgModule } from '@angular/core'
import { FormsModule } from '@angular/forms'
import { MaterialModule } from '@angular/material';
import { AngularEchartsModule } from 'angular2-echarts';

import { AppRoutingModule } from './app-routing.module'
import { AppComponent } from './app.component';
import { LoginComponent } from './login.component'
import { TopNavComponent } from './top-nav.component'
import { LeftNavComponent } from './left-nav.component'
import { PageHeaderComponent } from './page-header.component'
import { TaskTableComponent } from './task-table.component'
import { ProjectsComponent } from './projects.component'
import { ProjectEditComponent } from './project-edit.component'
import { TasksComponent } from './tasks.component'
import { TaskEditComponent } from './task-edit.component'
import { CalendarComponent } from './calendar.component'
import { UsersRankComponent } from './users-rank.component'

import { PageTitle } from './page-title'
import { UserService } from './user.service'
import { ProjectService } from './project.service'
import { PlanService } from './plan.service'
import { TypeService } from './type.service'
import { StageService } from './stage.service'
import { TaskService } from './task.service'
import { MilestoneService } from './milestone.service'
import { DetailsComponent} from "./details.component";
import { DailyComponent } from './daily.component';
import { DailyService } from './daily.service'

@NgModule({
  declarations: [
    AppComponent,
    LoginComponent,
    TopNavComponent,
    LeftNavComponent,
    PageHeaderComponent,
    TaskTableComponent,
    ProjectsComponent,
    ProjectEditComponent,
    TasksComponent,
    TaskEditComponent,
    DetailsComponent,
    CalendarComponent,
    UsersRankComponent,
    DailyComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    AppRoutingModule,
    MaterialModule,
    AngularEchartsModule
  ],
  providers: [
    PageTitle,
    UserService,
    ProjectService,
    PlanService,
    TypeService,
    StageService,
    TaskService,
    MilestoneService,
    DailyService
  ],
  bootstrap: [AppComponent]
})
export class AppModule {

}
